<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

    <%
    		Random r = new Random();
    		int score = r.nextInt(100)+1;
    		if(score >= 60){ 
    		request.setAttribute("S1", score);
    	RequestDispatcher rd =  request.getRequestDispatcher("good.jsp");
    	rd.forward(request, response);
    			
    		}else{
    		request.setAttribute("S2", score);
    	RequestDispatcher rd = 	request.getRequestDispatcher("bad.jsp");
    	rd.forward(request, response);
    			
    	    }%>
    
    
   
</body>
</html>